package interface_;

/**
 * @author wly
 * @create 2022-12-07 9:38
 */
public class InterfaceExercise01 {
    public static void main(String[] args) {
        new C().px();
    }
}

interface A{
    int x = 100;
}

class B{
    int x = 2;
}

class C extends B implements A{
    public void px(){
        System.out.println("父类 = " + super.x);
        System.out.println("接口 = " + A.x);
    }
}
